projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2c7b2f
)
(keep-lines-read-args): Use empty string as default (Bug#2495).
author
Chong Yidong
<cyd@stupidchicken.com>
Fri, 27 Feb 2009 15:31:36 +0000
(15:31 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Fri, 27 Feb 2009 15:31:36 +0000
(15:31 +0000)
lisp/replace.el
patch
|
blob
|
history
diff --git
a/lisp/replace.el
b/lisp/replace.el
index 131bfb66f774e5482ce70b611f27d0f6cbad0612..a375c87e74f344286673afc2c939dba5290a5764 100644
(file)
--- a/
lisp/replace.el
+++ b/
lisp/replace.el
@@
-570,7
+570,7
@@
regexp, the last isearch string, and the last replacement regexp."
"Read arguments for `keep-lines' and friends.
Prompt for a regexp with PROMPT.
Value is a list, (REGEXP)."
- (list (read-regexp prompt) nil nil t))
+ (list (read-regexp prompt
""
) nil nil t))
(defun keep-lines (regexp &optional rstart rend interactive)
"Delete all lines except those containing matches for REGEXP.